package com.txts.road.app.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.txts.road.app.system.model.entity.AgreementEntity;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.txts.road.app.system.model.query.AgreementQuery;
import com.txts.road.app.system.model.vo.AgreementVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 协议存储Mapper接口
 *
 * @author baoyr
 * @since 2025-07-17 10:46
 */
@Mapper
public interface AgreementMapper extends BaseMapper<AgreementEntity> {

    /**
     * 获取协议存储分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<AgreementVO>} 协议存储分页列表
     */
    Page<AgreementVO> getAgreementPage(Page<AgreementVO> page, AgreementQuery queryParams);

}
